﻿<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>[CONTROLLER].[ACTION] KMER API</title>
	<meta name="viewport" content="width=device-width, minimal-ui, initial-scale=1.0,  maximum-scale=1.0, user-scalable=no" />
	<meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/fonts/css/font-awesome.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/animate.css" />
	<style type="text/css">
		html, body, table, td, th {
			font-family: "YaHei Consolas Hybrid", 'Courier New', 'Lucida Console', Courier, monospace !important;
		}
		.table {
			border-top: #cccccc 1px solid !important;
		}
		.table caption, .caption {
			border-top: #3C763D 2px solid !important;
			background-color: #f5f5f5;
		}

		.table tr.align-center {
			text-align: center;
		}

		.table tr.align-center td, .table tr.align-center th {
			text-align: center;
		}
		.table td.align-center {
			text-align: center;
		}
		.table-hover > tbody > tr:hover {
			background-color: #F8FFD3;
		}
		.alert {
			margin-bottom: 0;
		}
		.fa.fa-hidden {
			visibility: hidden;
		}
		table.tg { }
		table.tg th.nowrap, table.tg td.nowrap {
			white-space: nowrap;
		}
		table.tg tr > th {
			background: #dedede;
			text-shadow: #FFF 1px 1px 1px;
			color: #333;
			border-bottom: #9d9d9d 1px solid !important;
			border-top: #eee 1px solid !important;
			border-right: #9d9d9d 1px solid !important;
		}
		table.tg tr > td:first-child {
			background: #ddd;
			border-right: #ABABAB 1px solid !important;
			border-bottom: #DDDDDD 1px solid !important;
			color: #777;
			text-shadow: #FFF 1px 1px 1px;
		}
	</style>

	<link rel="stylesheet" href="/api/html.ashx/prism.css" data-noprefix />
	<script src="/api/html.ashx/prism.js" data-manual></script>
</head>
<body>

	<nav class="navbar navbar-inverse  navbar-static-top">
		<div class="container">
			<ul class="nav navbar-nav">
				<li class="active"><a href="#">KMER API DOCS</a></li>
				<li><a href="#">Devlop</a></li>
				<li><a href="#">About</a></li>
			</ul>
		</div>
	</nav>
	<div class="container">
		<div class="row">
			<div class="col col-lg-12">
				<ol class="breadcrumb">
					<li><a href="/api/html.ashx">API</a></li>
					<li><a href="/api/html.ashx/[CONTROLLER]">[CONTROLLER]</a></li>
					<li class="active">[ACTION]</li>
				</ol>
			</div>
		</div>
		<div class="row">
			<div class="col col-lg-3">
				<div class="list-group action-list">
					<a href="#" class="list-group-item disabled">
						动作（Action）列表
					</a>
				</div>
			</div>
			<div class="col col-lg-9">
				<div class="panel panel-default action-detail">
					<div class="panel-heading">
						<div class="panel-title">
							[CONTROLLER].[ACTION]
						</div>
					</div>
					<div class="panel-body">
						<i class="fa fa-spinner fa-pulse"></i> Loading
					</div>
				</div>
			</div>
		</div>
	</div>
    <script src="/js/jquery-1.11.2.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/bootbox.min.js"></script>
    <script src="/js/laytpl.js"></script>
    <script src="/js/m.js"></script>
<script type="text/html" id="tpl-tr">
	<tr id="tg-{{d.el_id}}" data-pid="tg-{{d.el_pid}}" data-isopen="1">
		<td class="align-center">{{d.Index}}</td>
		<td class="nowrap">{{d.space}}<a href="javascript:toggleTG('tg-{{d.el_id}}')"><i class="fa {{d.caret}} fcaret"></i> <i class="fa {{d.icon}} icon"></i></a> {{d.名称}}</td>
		<td class="nowrap">{{=d.类型}}</td>
		<td>{{ d.默认值 ==0 ? "0": (String(d.默认值||"-")).replace('0001-01-01T00:00:00','-')}}</td>
		<td>{{d.说明}}</td>
	</tr>
</script>
<script type="text/html" id="tpl-action">
	<div class="panel-heading">
		<div class="panel-title">
			[CONTROLLER].[ACTION]

		</div>
	</div>
	{{# if(d.弃用){ }}
	<div class="alert alert-danger" role="alert">
		<strong>已弃用</strong>
		{{d.弃用.Message}}
	</div>
	{{# } }}
	<div class="panel-body">
		{{d.说明}}
	</div>
	<div class="panel-heading caption">
		<div class="panel-title">
			<div>实现版本：{{d.版本 || ""}}（当前API版本：2.6.2）（{{d.程序集.Name}}.dll,{{d.程序集.Version}}）</div>
		</div>
	</div>
	<table class="table table-bordered table-condensed table-striped table-hover table-responsive">
		<caption>访问权限</caption>
		<thead>
		<tr class="align-center">
			<th>必须登陆</th>
			<th>必须是后台用户</th>
			<th>必须是管理员</th>
		</tr>
		</thead>
		<tbody>
		<tr class="align-center">
			<td> {{d.权限.必须登录 ? '<span class="label label-danger">是</span>':"否"}} </td>
			<td> {{d.权限.必须是后台用户 ? '<span class="label label-danger">是</span>':"否"}} </td>
			<td> {{d.权限.必须管理员 ? '<span class="label label-danger">是</span>':"否"}} </td>
		</tr>
		</tbody>
	</table>
	<table class="table table-bordered table-condensed table-striped table-hover">
		<caption>输入参数</caption>
		<thead>
		<tr>
			<th>名称</th>
			<th>类型</th>
			<th>是否可选</th>
			<th>默认值</th>
			<th>说明</th>
		</tr>
		</thead>
		<tbody>
		{{# if(d.参数.length > 0){ }}
		{{# for(var i=0; i < d.参数.length; i++){ }}
		<tr>
			<td>{{d.参数[i].名称}}</td>
			<td>{{=d.参数[i].类型}}</td>
			<td class="align-center">{{d.参数[i].是否可选 ? '<span class="label label-primary">是</span>':'<span class="label label-warning">否</span>'}}</td>
			<td>{{ d.参数[i].默认值 ==0 ? "0": (String(d.参数[i].默认值||"-")).replace('0001-01-01T00:00:00','-')}}</td>
			<td>{{d.参数[i].说明}}</td>
		</tr>
		{{# } }}
		{{# }else{ }}
		<tr>
			<td colspan="5">无输入参数</td>
		</tr>
		{{# } }}
		</tbody>
	</table>
	<div class="panel-heading caption">
		<div class="panel-title">
			返回值
		</div>
	</div>
	<ul class="nav nav-tabs">
		<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">结构说明</a></li>
		<li role="presentation"><a href="#objc" aria-controls="objc" role="tab" data-toggle="tab">Objective-C</a></li>
		<li role="presentation"><a href="#java" aria-controls="objc" role="tab" data-toggle="tab">Java</a></li>
	</ul>
	<div class="tab-content">
		<div role="tabpanel" class="tab-pane active" id="home">
			<div style="overflow-y: auto">
				<table class="table table-bordered table-condensed table-striped table-hover table-return tg">
					<thead>
					<tr>
						<th></th>
						<th>名称</th>
						<th>类型</th>
						<th class="nowrap">示例值</th>
						<th>说明</th>
					</tr>
					</thead>
					<tbody></tbody>
				</table>
			</div>
		</div>
		<div role="tabpanel" class="tab-pane " id="objc">
			<div class="json-renderer"></div>
		</div>
		<div role="tabpanel" class="tab-pane " id="java">
			<div class="json-renderer">耐心等待</div>
		</div>
</div>
</script>
<script type="text/javascript">
	function toggleTG(id) {
		var tr = $('#' + id);
		if (tr.find('.fa-file-o').length > 0)return;
		if (tr.data('isopen')) {
			$('tr[data-pid=' + id + ']').hide();
			$('tr[data-pid^=' + id + ']').hide();
			tr.data('isopen', false);
			tr.find('.icon').removeClass('fa fa-folder-open-o').addClass('fa fa-folder-o');
			tr.find('.fcaret').removeClass('fa-caret-down').addClass('fa-caret-right');
		} else {
			$('tr[data-pid=' + id + ']').show();
			$('tr[data-pid^=' + id + ']').show();
			tr.data('isopen', true);
			tr.find('.icon').removeClass('fa fa-folder-o').addClass('fa fa-folder-open-o');
			tr.find('.fcaret').removeClass('fa-caret-right').addClass('fa-caret-down');
		}
	}

	(function ($) {
		var c = '[CONTROLLER]';
		var a = '[ACTION]';

		var blockList = ["页码", "页面总数", "记录总数", "分页大小"];
		new Kmer({
			'AppRootPath': '/',
			'CurrentUrl': location.href
		});

		function toIOS(data, f, className) {
			function hasChild(data) {
				return typeof (data.类型) != "string";
			}

			function isArray(key) {
				return key.indexOf('IList') > 0;
			}

			function makeClass(className, data) {
				var begin = '';
				var code1 = '';
				var code2 = '';
				var k1 = data.hasOwnProperty("类型");
				for (var kk in k1 ? data.类型 : data) {
					if (blockList.indexOf(kk) >= 0) continue;
					var item = k1 ? data.类型[kk] : data[kk];
					var line = getType(item, kk);
					if (typeof (line) == "string") {
						begin += line;
						begin += "\r\n\r\n";
					} else {
						code1 += '\t' + line.decl;
						code1 += "\r\n";
						code2 += '\t' + line.init;
						code2 += "\r\n";
						if (line.classType) {
							begin += line.classType;
							begin += "\r\n\r\n";
						}
					}
				}
				var objCls = `/* 开始 ${className} */\r\n`;
				objCls += `@interface ${className}Object : NSObject{\r\n}\r\n${code1}\r\n@end\r\n`;
				objCls += "\r\n\r\n";
				objCls += `@implementation ${className}Object\r\n`;
				objCls += '-(id)init{\r\n';
				objCls += '\tself = [super init];\r\n';
				objCls += code2;
				objCls += '\treturn self;\r\n';
				objCls += '}\r\n';
				objCls += '@end\r\n';
				objCls += `/* 结束 ${className} */\r\n`;
				return begin+' '+objCls;
			}
			function getType(data, kkey) {
				var name = kkey||data.名称;
				if (isArray(kkey)) {
					var dataName = kkey.replace('(IList`1)','');
					if (data.hasOwnProperty("类型")) {
						for (var kk in data.类型) {
							var ObjName = kk.replace('Item(', '').replace(')', '');
							//console.log('111111111111111',dataName, data.类型[kk]);
							return {
								"decl": `/* See to ${ObjName} */\r\n@property (nonatomic,strong ) NSMutableArray* for${dataName};`,
								"init": `/* See to ${ObjName} */\r\nself.for${dataName} = [[NSMutableArray alloc] init];`,
								"classType": makeClass(ObjName, data.类型[kk])
							};
							break;
						}
					} else {
						for (var kk in data) {
							var ObjName = kk.replace('Item(', '').replace(')', '');
							//console.log('111111111111111', dataName, data[kk]);
							return {
								"decl": `/* See to ${ObjName} */\r\n@property (nonatomic,strong ) NSMutableArray* for${dataName};`,
								"init": `/* See to ${ObjName} */\r\nself.for${dataName} = [[NSMutableArray alloc] init];`,
								"classType": makeClass(ObjName, data[kk])
							};
							break;
						}
					}
				} else if (hasChild(data)) {
					var clsName = data.名称.replace('Data(', '').replace('`1', '').replace(/[\[\]\(\)]/ig, '');
					return makeClass(clsName, data.类型);
				} else {
					var code = null;
					switch (data.类型) {
						case "Int":
						case "Int32":
						case "Long":
						case "Decimal":
						case "Boolean":
							code = {
								"decl": `/* ${data.说明} */\r\n\t@property (nonatomic,strong ) NSMutableNumber* for${name};`,
								"init": `/* ${data.说明} */\r\n\tself.for${name} = [[NSMutableNumber alloc] init];`
							};
							break;
						case "GUID":
							code = {
								"decl": `/* GUID ${data.说明} */\r\n\t@property (nonatomic,strong ) NSMutableString* for${name};`,
								"init": `/* GUID ${data.说明} */\r\n\tself.for${name} = [[NSMutableString alloc] init];`
							};
							break;
						case "String":
							code = {
								"decl": `/* ${data.说明} */\r\n\t@property (nonatomic,strong ) NSMutableString* for${name};`,
								"init": `/* ${data.说明} */\r\n\tself.for${name} = [[NSMutableString alloc] init];`
							};
							break;
						case "DateTime":
							code = {
								"decl": `/* ${data.说明} */\r\n\t@property (nonatomic,strong ) NSMutableString* for${name};`,
								"init": `/* ${data.说明} */\r\n\tself.for${name} = [[NSMutableString alloc] init];`
							};
							break;
						case "List<string>":
							code = {
								"decl": `/* 字符串数组（String） ${data.说明} */\r\n\t@property (nonatomic,strong ) NSMutableArray* for${name};`,
								"init": `/* 字符串数组（String） ${data.说明} */\r\n\tself.for${name} = [[NSMutableArray alloc] init];`
							};
							break;
						case "List<Int>":
							code = {
								"decl": `/* 整形数组（Int） ${data.说明} */\r\n\t@property (nonatomic,strong ) NSMutableArray* for${name};`,
								"init": `/* 整形数组（Int） ${data.说明} */\r\n\tself.for${name} = [[NSMutableArray alloc] init];`
							};
							break;
						default:
							code = {
								"decl": "未知情况：" + name,
								"init":"未知情况："+name
							};
							break;
					}
					return code;
				}
				return "";
			}

			if (f) {
				var rrr = makeClass(className, data);
				//console.log(rrr);
				return rrr;
			}
			for (var key in data) {
				var item = data[key];
				if (key.indexOf('Data') == 0) {
					toIOS(item, true, key.replace('Data(', '').replace('`1', '').replace(/[\[\]\(\)]/ig, ''));
					break;
				}
			}
			return '';
		}

		function toJava(data, f, className) {
			function hasChild(data) {
				return typeof (data.类型) != "string";
			}

			function isArray(key) {
				return key.indexOf('IList') > 0;
			}

			function makeClass(className, data) {
				var begin = '';
				var code1 = '';
				var code2 = '';
				var k1 = data.hasOwnProperty("类型");
				for (var kk in k1 ? data.类型 : data) {
					if (blockList.indexOf(kk) >= 0 )continue;
					var item = k1 ? data.类型[kk] : data[kk];
					var line = getType(item, kk);
					if (typeof (line) == "string") {
						begin += line;
						begin += "\r\n\r\n";
					} else {
						code1 += '\t' + line.decl;
						code1 += "\r\n";
						code2 += '\t' + line.init;
						code2 += "\r\n";
						if (line.classType) {
							begin += line.classType;
							begin += "\r\n\r\n";
						}
					}
				}
				var objCls = `/* 开始 ${className} */\r\n`;
				objCls += `public class ${className} implements Serializable{\r\n\r\n${code1}\r\n${code2}}\r\n`;
				
				objCls += "\r\n\r\n";
				objCls += `/* 结束 ${className} */\r\n`;
				return begin + ' ' + objCls;
			}
			function getType(data, kkey) {
				var name = kkey || data.名称;
				if (isArray(kkey)) {
					var dataName = kkey.replace('(IList`1)', '');
					if (data.hasOwnProperty("类型")) {
						for (var kk in data.类型) {
							var ObjName = kk.replace('Item(', '').replace(')', '');
							//console.log('111111111111111',dataName, data.类型[kk]);
							return {
								"decl": `/* See to ${ObjName} ${data.说明} */\r\n\tprivate List&lt;${ObjName}&gt; ${dataName};`,
								"init": `/* ${ObjName} */\r\n\tpublic void set${dataName}(List&lt;${ObjName}&gt; value){this.${dataName} = value;}\r\n` +
									`\tpublic List&lt;${ObjName}&gt; get${dataName}(){return this.${dataName};}\r\n`,
								"classType": makeClass(ObjName, data.类型[kk])
							};
							break;
						}
					} else {
						for (var kk in data) {
							var ObjName = kk.replace('Item(', '').replace(')', '');
							//console.log('111111111111111', dataName, data[kk]);
							return {
								"decl": `/* See to ${ObjName}  */\r\n\tprivate List&lt;${ObjName}&gt; ${dataName};`,
								"init": `/* ${ObjName} */\r\n\tpublic void set${dataName}(List&lt;${ObjName}&gt; value){this.${dataName} = value;}\r\n` +
									`\tpublic List&lt;${ObjName}&gt; get${dataName}(){return this.${dataName};}\r\n`,
								"classType": makeClass(ObjName, data[kk])
							};
							break;
						}
					}
				} else if (hasChild(data)) {
					var clsName = data.名称.replace('Data(', '').replace('`1', '').replace(/[\[\]\(\)]/ig, '');
					return makeClass(clsName, data.类型);
				} else {
					var code = null;
					switch (data.类型) {
						case "Int":
						case "Int32":
						case "Long":
							code = {
								"decl": `/* ${data.说明} */\r\n\tprivate int ${name};`,
								"init": `/* ${data.说明} */\r\n\tpublic void set${name}(int value){this.${name} = value;}\r\n` +
									`\tpublic int get${name}(){return this.${name};}\r\n`
							};
							break;
						
						case "Decimal":
							code = {
								"decl": `/* ${data.说明} */\r\n\tprivate double ${name};`,
								"init": `/* ${data.说明} */\r\n\tpublic void set${name}(double value){this.${name} = value;}\r\n` +
									`\tpublic double get${name}(){return this.${name};}\r\n`
							};
							break;
						case "Boolean":
							code = {
								"decl": `/* ${data.说明} */\r\n\tprivate boolean ${name};`,
								"init": `/* ${data.说明} */\r\n\tpublic void set${name}(boolean value){this.${name} = value;}\r\n`+
									`\tpublic boolean get${name}(){return this.${name};}\r\n`
							};
							break;
						case "GUID":
							code = {
								"decl": `/* GUID ${data.说明} */\r\n\tprivate String ${name};`,
								"init": `/* GUID ${data.说明} */\r\n\tpublic void set${name}(String value){this.${name} = value;}\r\n` +
									`\tpublic String get${name}(){return this.${name};}\r\n`
							};
							break;
						case "String":
							code = {
								"decl": `/* ${data.说明} */\r\n\tprivate String ${name};`,
								"init": `/* ${data.说明} */\r\n\tpublic void set${name}(String value){this.${name} = value;}\r\n` +
									`\tpublic String get${name}(){return this.${name};}\r\n`
							};
							break;
						case "DateTime":
							code = {
								"decl": `/* DateTime ${data.说明} */\r\n\tprivate String ${name};`,
								"init": `/* DateTime ${data.说明} */\r\n\tpublic void set${name}(String value){this.${name} = value;}\r\n` +
									`\tpublic String get${name}(){return this.${name};}\r\n`
							};
							break;
						case "List<string>":
							code = {
								"decl": `/* String ${data.说明} */\r\n\tprivate List&lt;String&gt; ${name};`,
								"init": `/* String ${data.说明} */\r\n\tpublic void set${name}(List&lt;String&gt; value){this.${name} = value;}\r\n` +
									`\tpublic List&lt;String&gt; get${name}(){return this.${name};}\r\n`
							};
							break;
						case "List<Int>":
							code = {
								"decl": `/* Int ${data.说明} */\r\n\tprivate List&lt;int&gt; ${name};`,
								"init": `/* Int ${data.说明} */\r\n\tpublic void set${name}(List&lt;int&gt; value){this.${name} = value;}\r\n` +
									`\tpublic List&lt;int&gt; get${name}(){return this.${name};}\r\n`
							};
							break;
						default:
							code = {
								"decl": "未知情况：" + name,
								"init": "未知情况：" + name
							};
							break;
					}
					return code;
				}
				return "";
			}

			if (f) {
				var rrr = makeClass(className, data);
				//console.log(rrr);
				return rrr;
			}
			for (var key in data) {
				var item = data[key];
				if (key.indexOf('Data') == 0) {
					toIOS(item, true, key.replace('Data(', '').replace('`1', '').replace(/[\[\]\(\)]/ig, ''));
					break;
				}
			}
			return '';
		}
		function fillTg(data) {
			var tpl = laytpl(document.getElementById('tpl-tr').innerHTML);
			var index = 1;
			function hasChild(data) {
				return typeof(data.类型) != "string";
			}

			function fillTr(data, tpl, level, pid) {
				data.el_pid = pid;
				data.el_id = pid + '-' + data.Index;
				data.space = '';
				data.caret = hasChild(data) ? 'fa-caret-down' : 'fa-hidden fa-caret-down';
				data.icon = hasChild(data) ? 'fa-folder-open-o' : 'fa-file-o';
				for (var i = 0; i < level; i++) {
					data.space += '<i class="fa fa-hidden fa-folder-open"></i> ';
				}
					
				var result = tpl.render(data);
				$('.table-return tbody').append(result);
				if (hasChild(data)) {
					for (var key in data.类型) {
						if (blockList.indexOf(key) >= 0) continue;
						var item = data.类型[key];
						if (key.indexOf('IList') > 0) {
							//console.log(1,item);
							if (item.hasOwnProperty("类型")) {
								for (var kk in item.类型) {
									item = {
										'类型': item.类型[kk],
										'说明': item.说明
									};
									break;
								}
							} else {
								for (var kk in item) {
									item = {
										'类型': item[kk],
										'说明': ''
									};
									break;
								}
							}
							
						}
						//console.log(2,item);
						//console.log(key, item);
						item.Index = index;
						item.名称 = key;
						index++;
						fillTr(item, tpl, level + 1, data.el_id);
					}
				}
			}

			for (var key in data) {
				
				var item = data[key];
				if (key.indexOf('IList') > 0) {
					//console.log(1,item);
					for (var kk in item.类型) {
						item = {
							'类型': item.类型[kk],
							'说明': item.说明
						};
						break;
					}
				}
				//console.log(key, item);
				item.Index = index;
				item.名称 = key;
				index++;
				fillTr(item, tpl, 0, 0);
			}
		}
		function loadActionList(c) {
			//http://localhost:48306/api/html.ashx/User/Login
			Y.API2(c, 'GetDTD', {}, function (data) {
				for (var i = 0; i < data.length; i++) {
					var item = data[i];
					var link =
						item.名称 == a
							? `<a href="/api/html.ashx/${c}/${item.名称}" class="list-group-item active"><h4 class ="list-group-item-heading">${item.名称}</h4><p class ="list-group-item-text">${item.说明}</p></a>`
							: `<a href="/api/html.ashx/${c}/${item.名称}" class="list-group-item "><h4 class ="list-group-item-heading">${item.名称}</h4><p class ="list-group-item-text">${item.说明}</p></a>`;
					$('.action-list').append(link);
				}
				if (a == "列表") {
					//location.href = $('.action-list a[href^="/"]:first').attr('href');
					location.href = `/api/html.ashx/${c}/${data[0].名称}`;
				}
			});
		}

		function arrToObj(arr) {
			var obj = {};
			for (var i = 0; i < arr.length; i++) {
				obj[arr[i].名称] = arr[i];
			}
			return obj;
		}

		function loadAction(c, a) {
			//http://localhost:48306/api/html.ashx/User/Login
			Y.API2(c, 'GetDTD', { Action: a }, function (data) {
				console.log(data);
				var tpl = laytpl(document.getElementById('tpl-action').innerHTML
					//.replace(/&lt;/ig, "<")
					//.replace(/&gt;/ig, ">")
				);

				for (var i = 0; i < data.参数.length; i++) {
					var item = data.参数[i];
					if ($.isPlainObject(item.类型)) {
						item.类型 = JSON.stringify(item.类型);
					}
				}
				var result = tpl.render(data);
				$('.action-detail').html(result);
				//$('#json-renderer').jsonViewer(data.返回值);
				fillTg(data.返回值);
				$('#objc .json-renderer').html('<pre class="line-numbers"><code class="language-objectivec">' +
					'/* 输入参数 */\r\n' +
					toIOS(arrToObj(data.参数), true, `${c}${a}Request`) +
					'\r\n/* END 输入参数 */\r\n\r\n' +
					toIOS(data.返回值, true, "Result") + '</code></pre>');

				$('#java .json-renderer').html('<pre class="line-numbers"><code class="language-java">' +
					'/* 输入参数 */\r\n' +
					toJava(arrToObj(data.参数), true, `${c}${a}Request`) +
					'\r\n/* END 输入参数 */\r\n\r\n' +
					toJava(data.返回值, true, "Result") + '</code></pre>');

				Prism.highlightAll();
			});
		}

		loadActionList(c);
		if (a != "列表") {
			loadAction(c, a);
		}
	})(jQuery);

</script>
</body>
</html>
